import java.io.Serializable;
import java.util.Date;
import java.util.UUID;

public class ChatMsg implements Serializable
{
    String sender;
    String recipient;
    String msg;
    Date timestamp;
    UUID uniqueID;

    public ChatMsg(String sender, String recipient, String msg)
    {
        this.sender = sender;
        this.recipient = recipient;
        this.msg = msg;

        this.timestamp = new Date();
        this.uniqueID = UUID.randomUUID();
    }
}
